package cn.dw.domain;

import java.util.HashSet;
import java.util.Set;

public class Point
{
  private Integer id;
  private String name;
  private String addr;
  private Double lng;
  private Double lat;
  private String address;
  private String imgurl;
  private Set<People> peoples = new HashSet<People>();
  
  public Integer getId()
  {
    return this.id;
  }
  
  public void setId(Integer id)
  {
    this.id = id;
  }
  
  public String getName()
  {
    return this.name;
  }
  
  public void setName(String name)
  {
    this.name = name;
  }
  
  public String getAddr()
  {
    return this.addr;
  }
  
  public void setAddr(String addr)
  {
    this.addr = addr;
  }
  
  public Double getLng()
  {
    return this.lng;
  }
  
  public void setLng(Double lng)
  {
    this.lng = lng;
  }
  
  public Double getLat()
  {
    return this.lat;
  }
  
  public void setLat(Double lat)
  {
    this.lat = lat;
  }
  
  public Set<People> getPeoples()
  {
    return this.peoples;
  }
  
  public void setPeoples(Set<People> peoples)
  {
    this.peoples = peoples;
  }
  
  public String getImgurl()
  {
    return this.imgurl;
  }
  
  public void setImgurl(String imgurl)
  {
    this.imgurl = imgurl;
  }
  
  public String getAddress()
  {
    return this.address;
  }
  
  public void setAddress(String address)
  {
    this.address = address;
  }
  
  public String toString()
  {
    return 
    
      "Point [id=" + this.id + ", name=" + this.name + ", addr=" + this.addr + ", lng=" + this.lng + ", lat=" + this.lat + ", address=" + this.address + ", imgurl=" + this.imgurl + ", peoples=" + this.peoples + "]";
  }
}
